<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>京东图片列表</title>
    <link rel="stylesheet" href="../css/reset.css">
    <style>
        body {
            /* 设置网页背景颜色 */
            background-color: antiquewhite;
        }
        .img-list {
            /* 设置ul宽度 */
            width: 190px;
            /* 设置ul高度 */
            height: 470px;
            /* 裁剪溢出内容 */
            overflow: hidden;
            /* 是图片居中 */
            margin: 50px auto;
            /* 设置ul背景色 */
            background-color: #f4f4f4;
        }
        .img-list li {
            margin-bottom: 9px;
        }
        .img-list img {
            /* 设置图片大小 */
            width: 100%;
        }
    </style>
</head>
<body>
    <ul class="img-list">
         <li>
             <a href="javascript:;">
                 <img src="../img/1.jpg" alt="">
             </a>
         </li>
         <li>
            <a href="javascript:;">
                <img src="../img/1.jpg" alt="">
            </a>
         </li>
         <li>
            <a href="javascript:;">
                <img src="../img/1.jpg" alt="">
            </a>
         </li>
    </ul>
</body>
</html>  